package ctrs.dao;

import ctrs.bean.Course;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseDao {
    public List<Course> getAllCourse(@Param("courseName") String courseName);
    public int addCourse(Course course);
    public Course getUpdateCourse(String courseId);
    public int editCourse(Course course);
    public int deleteCourse(String courseId);
}
